package com.liefox.serviceorder.client;

import com.liefox.eduucenter.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author zjh
 * @Date 2021/7/22 下午 2:38
 **/
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {
    @PostMapping("/eduucenter/member/getInfoUc/{id}")
    public UcenterMember getInfo(@PathVariable("id") String id);
}
